export const joinTypeList = [
  { value: "FORMAL", title: "正式" },
  { value: "PROBATION", title: "试用" },
  { value: "GIFT", title: "赠送" },
  { value: "INTERNAL", title: "内部员工" },
  { value: "COUPONGIFT", title: "活动赠送", disabled: true },
];

export const joinTypeMap = joinTypeList.reduce((result, item) => {
  result[item.value] = item.title;
  return result;
}, {});
